div#container {
    width: 800px;
    margin: 0 auto;
}

div#header {
    border: black solid 1px;
    background-color: yellow;
}

div#sidebar {
    border: green solid 1px;
    background-color: orange;
    float: left;
    width: 150px;
}

div#content {
    border: red solid 1px;
    background-color: beige;
    margin-left: 151px;
    padding: 0 10px 0
}

div#footer {
    border: blue solid 1px;
    background-color: antiquewhite;
    clear: left;
}

div.itemBtn {
    background-color: lightskyblue;
    border: black solid 1px;
    margin: 5px auto;
    text-align: left;
    padding: 2px 4px 2px;
}

div#btnList {
    overflow-x: auto;
    margin: 0 3px;
}

div.contentBlock {
    margin: 5px 10px;
    padding: 2px 5px;
    border: beige 2px dashed;
    position: relative;
}

div.candidate {
    border: #c3caca dashed 2px;
    min-height: 30px;
}

div.candidate:hover {
    border-color: #a3aaaa;
}

div.mode_committed:hover {
    border: #a3aaaa dashed 2px;
}

div.editableContentWrapper {
    padding: 0;
}

div.plain-editable {
    -moz-appearance: textfield-multiline;
    -webkit-appearance: textarea;
    border: 1px double lightsteelblue;
    font: medium -moz-fixed;
    font: -webkit-small-control;
    height: 50px;
    overflow: auto;
    padding: 2px;
    resize: both;
    width: 100%;
    -moz-box-sizing: border-box; /* Для Firefox */
    -webkit-box-sizing: border-box; /* Для Safari и Chrome */
    box-sizing: border-box; /* Для IE и Opera */
}

div.control_panel.mode_edit {
    border: black solid 1px;
    background-color: whitesmoke;
    padding: 2px 3px 2px;
    width: 40px;
    position: absolute;
    right: -40px;
    -moz-box-sizing: border-box; /* Для Firefox */
    -webkit-box-sizing: border-box; /* Для Safari и Chrome */
    box-sizing: border-box; /* Для IE и Opera */
    display: none;
}
div.control_panel.mode_edit table {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    text-align: center;
    height: 20px;
    width: 30px;
    padding: 0;
    font-size: 0.8em;
    background: #a3aaaa url("../images/grad_vert_3_20.png") repeat-x;
}
.btn:hover {
    background-color: #6f7676;
}
.btn:active {
    background-color: chartreuse;
}

/*Image block*/
.resourceUrlPanel {
    padding: 2px 5px;
    width: 500px;
    margin: auto auto;
    border: darkgrey outset 1px;
    overflow: hidden;
}
.resourceUrlPanel > div:first-child {
    float: left;
    width: 70%;
}
.resourceUrlPanel table {
    width: 100%;
}
.resourceUrlPanel .field {
    width: 100%;
}
.resourceUrlPanel > .btnWrapper{
    float: right;
    height: 60px;
    width: 30%;
}
.resourceUrlPanel .btn {
    position: relative;
    top: 50%;
    margin: -15px auto auto;
}

/*Candidate block*/
.candidate .control_panel {
    width: 200px;
    margin: 3px auto;
}
.candidate .control_panel table{
    width: 100%
}